import request from './index'

// 登录方法
export function login(data) {
  return request({
    url: 'http://47.100.8.204:8092/login',
    method: 'post',
    params: data
  })
}

// 验证码
export function code() {
  return request({
    url: 'http://47.100.8.204:8092/captchaImage',
    method: 'get'
  })
}
